#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
	char str[100];
	int a[] = { 7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2 };  //前17位数字的权重
	int b[] = { 1,0,-1,9,8,7,6,5,4,3,2 };  //相应校验码M的值
	int sum = 0, t;
	gets(str);

	for (int i = 0; i < 17; i++)  //字符0-9的ASCII码值为48-57
		sum += (str[i] - '0') * a[i];
	t = sum % 11;

	if (b[t] == str[17] - '0')
		printf("No problem");
	else
		printf("Incorrect");
	return 0;
}